import React from "react"
import {useRoutes} from "react-router-dom"
import routes from "./router"
import Tabbar from "./components/Tabbar"
import "./App.scss"

export default function App() {
  const routerElement = useRoutes(routes)
  return (
    <div className="app">
      {
        routerElement
      }
      <Tabbar></Tabbar>
    </div>
  )
}
